package me.jessyan.armscomponent.app.mvp.model.api.service;

import io.reactivex.Observable;
import me.jessyan.armscomponent.app.mvp.model.entity.SignResponse;
import me.jessyan.armscomponent.commonsdk.http.BaseResponse;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Desc: 签到相关接口
 * Created by taoze
 * on 2021/9/20
 **/
public interface SignService {

    /**
     * 签到列表
     */
    @GET("app/user/signInList")
    Observable<BaseResponse<SignResponse>> signInList(@Query("startTime") long startTime, @Query("endTime") long endTime);

    /**
     * 签到
     */
    @POST("app/user/signIn")
    Observable<BaseResponse<Object>> signIn();

}
